package com.igrowing.api.appclientsdk;

import com.igrowing.api.appclientsdk.client.TestCLient;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;

/**
 * Description:    // 类说明
 *
 * @ClassName: ApiClientSdkConfig    // 类名，会自动填充
 * @Author: 周天赐        // 创建者
 * @Email: m18879004515@163.com
 * @Date: 2024/3/5 15:50   // 时间
 * @Version: 1.0     // 版本
 */
@Configuration
@ConfigurationProperties("igrowing.client")
@Data
@ComponentScan
public class ApiClientSdkConfig {


    private String accessKey;

    private String secretKey;

    @Bean
    public TestCLient ApiClient() {
        return new TestCLient(accessKey, secretKey);
    }


}

    
    
